package com.star.message.contract.enums;

import com.star.common.core.contract.enums.IEnum;
import com.star.common.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 消息异常枚举类
 *
 * @author zhouhengzhe
 */
@Getter
@AllArgsConstructor
public enum MessageErrorEnum implements IEnum<Integer>, EnumValueResolver<MessageErrorEnum, Integer> {

    //模板审核状态不是审核失败，不能修改并重新提交审核
    TEMPLATE_STATUS_NOT_FAIL(3001, "模板审核状态不是审核失败，不能修改并重新提交审核");

    private final Integer code;

    private final String desc;
}
